package com.cong.方法重载;

public class Math01 {

    public static void main(String[] args) {
        System.out.println(sumA(5,6));
        System.out.println(sumA(5,6,7));
        System.out.println(sumA(20.2,3.2));
    }
    public static int sumA(int A, int B){

        return A+B;
    }
    public static double sumA(double A,double B){
        return A+B;
    }
    public static int sumA(int A,int B,int C){
        return A+B+C;
    }
}
